<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>添加问卷</title>
		<link href="index/css/add.css" rel="stylesheet"  type="text/css"/>
	</head>
	<body>
		<div id="add-container">
			<div id="add-top-left">    
			        <h2>调查问卷系统</h2>
			</div>
			<div id="add-top-right">
                <h4>欢迎你：<?php session_start(); echo $_SESSION['name']?> <a href="/index/index/edit/user_email/<?php echo $_SESSION['email']?>">编辑</a> <a href="/index/login/loginOut">退出</a></h4>
			</div>
			<div id="add-content">
				<h3>请创建您的调查问卷</h3>
				<div id="table">
					<form action="/index.php?s=index/index/addSave" method="post">
						<table>
							<tr>
								<td style="text-align: right;">问卷主题：</td>
								<td><input id="title" type="text" name="title"/></td>
							</tr>
							<tr>
								<td style="text-align: right;">问卷说明：</td>
								<td><textarea name="explain" style="margin-right: 50px;" id="content" rows="10px" cols="43px"></textarea></td>
							</tr>
							<tr>
								<td style="text-align: right;">问卷选项：</td>
								<td>
									<ol>
										<li><input type="text" class="text" name="ques_one"/></li>
										<li><input type="text" class="text" name="ques_two"/></li>
										<li><input type="text" class="text" name="ques_three"/></li>
										<li><input type="text" class="text" name="ques_four"/></li>
										<li><input type="text" class="text" name="ques_five"/></li>
									</ol>	
								</td>
							</tr>
						</table>
                        <input id="save_btn" type="submit" value="提交">
					</form>
				</div>
			</div>
		</div>
	</body>
</html>
